package com.yuexun.dhdoctor.module.login.model;

import com.yuexun.dhdoctor.base.BaseEntity;
import com.yuexun.dhdoctor.module.login.bean.LoginBean;
import com.yuexun.dhdoctor.module.login.bean.UserBean;

import java.util.Map;

import rx.Observable;

/**
 * Created by work-jx on 2016/7/11.
 */
public interface ILoginModel {
    //登陆
    public Observable<LoginBean> doInLogin(Map<String, String> praise);

    //获取个人信息
    public Observable<UserBean> getUserInfo(Map<String, String> praise);

    //发送短信
    public Observable<BaseEntity<String>> sendPhoneVerifyCode(Map<String, String> praise);
}
